package org.gen.core;

/**
 *
 * @author 朱良才
 * @Email zhuliangcai@itcast.com
 * @Date 2017-10-16
 */
public class Attribute {
    private String columnName;//orgin table colum name
    private String name;//java property Name
    private String type;

    public Attribute() {
    }

    public Attribute(String columnName, String name, String type) {
        this.columnName = columnName;
        this.name = name;
        this.type = type;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Attribute{" +
                "columnName='" + columnName + '\'' +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
